Optimal. Leaf size=122 \[ \frac {b^2 x}{3 c^2}+\frac {b \sqrt {1+\frac {1}{c^2 x^2}} x^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 c}+\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )^2-\frac {2 b \left (a+b \text {csch}^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\text {csch}^{-1}(c x)}\right )}{3 c^3}-\frac {b^2 \text {PolyLog}\left (2,-e^{\text {csch}^{-1}(c x)}\right )}{3 c^3}+\frac {b^2 \text {PolyLog}\left (2,e^{\text {csch}^{-1}(c x)}\right )}{3 c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 122, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 6, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {6421, 5560,
4270, 4267, 2317, 2438} \begin {gather*} -\frac {2 b \tanh ^{-1}\left (e^{\text {csch}^{-1}(c x)}\right ) \left (a+b \text {csch}^{-1}(c x)\right )}{3 c^3}+\frac {b x^2 \sqrt {\frac {1}{c^2 x^2}+1} \left (a+b \text {csch}^{-1}(c x)\right )}{3 c}+\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )^2-\frac {b^2 \text {Li}_2\left (-e^{\text {csch}^{-1}(c x)}\right )}{3 c^3}+\frac {b^2 \text {Li}_2\left (e^{\text {csch}^{-1}(c x)}\right )}{3 c^3}+\frac {b^2 x}{3 c^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2317
Rule 2438
Rule 4267
Rule 4270
Rule 5560
Rule 6421
Rubi steps
\begin {align*} \int x^2 \left (a+b \text {csch}^{-1}(c x)\right )^2 \, dx &=-\frac {\text {Subst}\left (\int (a+b x)^2 \coth (x) \text {csch}^3(x) \, dx,x,\text {csch}^{-1}(c x)\right )}{c^3}\\ &=\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )^2-\frac {(2 b) \text {Subst}\left (\int (a+b x) \text {csch}^3(x) \, dx,x,\text {csch}^{-1}(c x)\right )}{3 c^3}\\ &=\frac {b^2 x}{3 c^2}+\frac {b \sqrt {1+\frac {1}{c^2 x^2}} x^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 c}+\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )^2+\frac {b \text {Subst}\left (\int (a+b x) \text {csch}(x) \, dx,x,\text {csch}^{-1}(c x)\right )}{3 c^3}\\ &=\frac {b^2 x}{3 c^2}+\frac {b \sqrt {1+\frac {1}{c^2 x^2}} x^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 c}+\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )^2-\frac {2 b \left (a+b \text {csch}^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\text {csch}^{-1}(c x)}\right )}{3 c^3}-\frac {b^2 \text {Subst}\left (\int \log \left (1-e^x\right ) \, dx,x,\text {csch}^{-1}(c x)\right )}{3 c^3}+\frac {b^2 \text {Subst}\left (\int \log \left (1+e^x\right ) \, dx,x,\text {csch}^{-1}(c x)\right )}{3 c^3}\\ &=\frac {b^2 x}{3 c^2}+\frac {b \sqrt {1+\frac {1}{c^2 x^2}} x^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 c}+\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )^2-\frac {2 b \left (a+b \text {csch}^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\text {csch}^{-1}(c x)}\right )}{3 c^3}-\frac {b^2 \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{\text {csch}^{-1}(c x)}\right )}{3 c^3}+\frac {b^2 \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{\text {csch}^{-1}(c x)}\right )}{3 c^3}\\ &=\frac {b^2 x}{3 c^2}+\frac {b \sqrt {1+\frac {1}{c^2 x^2}} x^2 \left (a+b \text {csch}^{-1}(c x)\right )}{3 c}+\frac {1}{3} x^3 \left (a+b \text {csch}^{-1}(c x)\right )^2-\frac {2 b \left (a+b \text {csch}^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\text {csch}^{-1}(c x)}\right )}{3 c^3}-\frac {b^2 \text {Li}_2\left (-e^{\text {csch}^{-1}(c x)}\right )}{3 c^3}+\frac {b^2 \text {Li}_2\left (e^{\text {csch}^{-1}(c x)}\right )}{3 c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.99, size = 224, normalized size = 1.84 \begin {gather*} \frac {b^2 c x+a b c^2 \sqrt {1+\frac {1}{c^2 x^2}} x^2+a^2 c^3 x^3+b^2 c^2 \sqrt {1+\frac {1}{c^2 x^2}} x^2 \text {csch}^{-1}(c x)+2 a b c^3 x^3 \text {csch}^{-1}(c x)+b^2 c^3 x^3 \text {csch}^{-1}(c x)^2-\frac {a b c \sqrt {1+\frac {1}{c^2 x^2}} x \tanh ^{-1}\left (\frac {c x}{\sqrt {1+c^2 x^2}}\right )}{\sqrt {1+c^2 x^2}}+b^2 \text {csch}^{-1}(c x) \log \left (1-e^{-\text {csch}^{-1}(c x)}\right )-b^2 \text {csch}^{-1}(c x) \log \left (1+e^{-\text {csch}^{-1}(c x)}\right )+b^2 \text {PolyLog}\left (2,-e^{-\text {csch}^{-1}(c x)}\right )-b^2 \text {PolyLog}\left (2,e^{-\text {csch}^{-1}(c x)}\right )}{3 c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int x^{2} \left (a +b \,\mathrm {arccsch}\left (c x \right )\right )^{2}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \left (a + b \operatorname {acsch}{\left (c x \right )}\right )^{2}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^2\,{\left (a+b\,\mathrm {asinh}\left (\frac {1}{c\,x}\right )\right )}^2 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________